<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
<tr>
    <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
    <td class="block_header">{language text="friends_pending_friend_requests"}</td>
</tr>
</table>

{if $aFriends}
    <div style="font-size:10pt;" class="color">
    {language text="below_is_a_list_of_your_pending_fri"}
    </div>
    <br /><br />
    {str_replace text="`viewing_apaging_fromrow_apaging_tor`" aPaging_fromRow="`$aPaging.fromRow`" aPaging_toRow="`$aPaging.toRow`" aPaging_totalRows="`$aPaging.totalRows`" }
    <br /><br />
    
    {include file="$sRootPath/_blocks/pager.html"}
    
    <table style="width:100%;" cellpadding="5" cellspacing="0">
        
        <tr class="border13">
        {foreach from=$aFriends item=aFriend name=friends}
            <td style="text-align:center;vertical-align:middle;">
            <table style="margin-left:auto;margin-right:auto;">
                <tr>
                    <td style="font-size:8pt;" class="color">
                        <div class="list"><b><a class="link_description" href="{url link=public.user name=$aFriend.user}">{$aFriend.user}</a> </b></div>
        
                        <a href="{url link=public.user name=$aFriend.user}">
                            {Account::Avatar sUser=$aFriend.user iSize=75 class="pic1" onmouseover="showInfo5('`$aFriend.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();" }
                        </a>
                    </td>
                </tr>
            </table>
            </td>
        {if $smarty.foreach.friends.iteration % $iRowSize == 0}
            </tr>
            <tr {if 0==($smarty.foreach.friends.iteration/$iRowSize)%2}class="border13"{/if}>
        {/if}
        {/foreach}        
    </table>
    
    {include file="$sRootPath/_blocks/pager.html"}
    <br />
{else}
    <div class="message_info">{language text="there_are_no_pending_friend_request"}</div>
{/if}